/*
    Copyright 2011 - Tommi Laukkanen (www.substanceofcode.com)

    This file is part of NewsFlow.

    NewsFlow is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    NewsFlow is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with NewsFlow. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef WINDOWHELPER_H
#define WINDOWHELPER_H

#include <QObject>
#include "qmlapplicationviewer.h"

class WindowHelper : public QObject
{
    Q_OBJECT
public:
    explicit WindowHelper(QmlApplicationViewer &viewer, QObject *parent = 0);
    Q_INVOKABLE void minimize();
    Q_INVOKABLE bool isMaemo();
    Q_INVOKABLE void maximize();
    Q_INVOKABLE void fullscreen();

private:
    class QmlApplicationViewer *m_viewer;

signals:

public slots:

};

#endif // WINDOWHELPER_H
